﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Data.Objects;
using DataLayer.Entities;

namespace DataLayer.Configuration
{
    public class EnvironmentConfiguration : EntityConfiguration<DataLayer.Entities.Environment>
    {
        public EnvironmentConfiguration()
        {
            Property(e => e.EnvironmentID).IsIdentity();
            Relationship<EducationalITApplication>(c => c.EducationalITApplications).FromProperty(x => x.Environments);
            
           

        }
    }
}
